
package vip.xiaonuo.biz.modular.lancerUserGoods.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import vip.xiaonuo.biz.modular.lancerUserGoods.entity.BizUserGoods;
import vip.xiaonuo.biz.modular.lancerUserGoods.param.BizUserGoodsAddParam;
import vip.xiaonuo.biz.modular.lancerUserGoods.param.BizUserGoodsEditParam;
import vip.xiaonuo.biz.modular.lancerUserGoods.param.BizUserGoodsIdParam;
import vip.xiaonuo.biz.modular.lancerUserGoods.param.BizUserGoodsPageParam;

import java.util.List;

/**
 * 订单Service接口
 *
 * @author Lancer
 * @date  2024/03/03 17:11
 **/
public interface BizUserGoodsService extends IService<BizUserGoods> {

    /**
     * 获取订单分页
     *
     * @author Lancer
     * @date  2024/03/03 17:11
     */
    Page<BizUserGoods> page(BizUserGoodsPageParam bizUserGoodsPageParam);

    /**
     * 添加订单
     *
     * @author Lancer
     * @date  2024/03/03 17:11
     */
    void add(BizUserGoodsAddParam bizUserGoodsAddParam);

    /**
     * 编辑订单
     *
     * @author Lancer
     * @date  2024/03/03 17:11
     */
    void edit(BizUserGoodsEditParam bizUserGoodsEditParam);

    /**
     * 删除订单
     *
     * @author Lancer
     * @date  2024/03/03 17:11
     */
    void delete(List<BizUserGoodsIdParam> bizUserGoodsIdParamList);

    /**
     * 获取订单详情
     *
     * @author Lancer
     * @date  2024/03/03 17:11
     */
    BizUserGoods detail(BizUserGoodsIdParam bizUserGoodsIdParam);

    /**
     * 获取订单详情
     *
     * @author Lancer
     * @date  2024/03/03 17:11
     **/
    BizUserGoods queryEntity(String id);

    Page<BizUserGoods> pageClient(BizUserGoodsPageParam bizUserGoodsPageParam);

    Page<BizUserGoods>  pageBus(BizUserGoodsPageParam bizUserGoodsPageParam);

    boolean isPaid(String orderId);
}
